package code.net
{
	public class CommandTyte
	{
		/**
		 * 玩家发往服务器的命令号
		 */
		public static var SEND_LOGIN:int = 0x1001;//登陆
		public static var SEND_SEAT:int = 0x1002;//请求坐下
		public static var SEND_GRAB_BANKER:int = 0x1003;//玩家抢庄
		public static var SEND_BET:int = 0x1004;//玩家下注
		public static var SEND_SELECT_CARD:int = 0x1005;//选牌响应
		public static var SEND_SETTLEMENT_OK:int = 0x1006;//选牌响应
		public static var SEND_RECONNECT:int = 0x1007;//重连
		public static var SEND_PLAYER_UP:int = 0x1008;//站起
		public static var SEND_PLAYER_QUIT:int = 0x1009;//退出
		public static var SEND_CHAT:int = 0x1010;//聊天
		public static var SEND_EMOTION:int = 0x1011;//表情
		
		/**
		 * 服务器返回客户端的命令号
		 */
		public static var RECEIVE_ERROR_CODE:int =0x4001;//错误处理
		public static var RECEIVE_PLAYER_IN_ROOM:int =0x2001;//玩家进入房间
		public static var RECEIVE_TABLE_INFO:int =0x2002;//返回桌子信息
		public static var RECEIVE_PLAYER_SEAT:int =0x2003;//广播用户坐下
		public static var RECEIVE_CAN_GRAB_BANKER:int =0x2004;//通知玩家抢庄
		public static var RECEIVE_PALYER_GRAB_BANKER:int =0x2005;//广播玩家抢庄动做
		public static var RECEIVE_BANKER:int =0x2006;//广播庄家
		public static var RECEIVE_CAN_BET:int =0x2007;//通知玩家下注
		public static var RECEIVE_PLAYER_BET:int =0x2008;//广播玩家所下的注
		public static var RECEIVE_GET_CARD:int =0x2009;//发牌
		public static var RECEIVE_CAN_SELECT_CARD:int =0x2010;//通知选牌
		public static var RECEIVE_PLAYER_COW_NUMB:int =0x2011;//广播选牛
		public static var RECEIVE_GAME_RESULT:int =0x2012;//比牌
		public static var RECEIVE_RECONNECT_INFO:int =0x2013;//重连
		public static var RECEIVE_PLAY_DEAL_CARD:int =0x2014;//播放发牌动画
		public static var RECEIVE_PLAY_UP:int =0x2015;//站起
		public static var RECEIVE_PLAY_QUIT:int =0x2016;//退出
		public static var RECEIVE_PLAY_CHAT:int =0x2017;//聊天
		public static var RECEIVE_FACE_EMOTION:int =0x2018;//表情
		
		public function CommandTyte()
		{
		}
	}
}